/**
 * 基础路由
 * @type { *[] }
 */

const constantRouterMap = [
  
  {
    path: '/',
    name: 'index',
    redirect: '/orderform/allorder',
    component: () => import('../views/keywordScreening/Index.vue')
  },{
    path: '/login',
    name: 'login',
    component: () => import('../views/keywordScreening/Index.vue')
  }, {
    path: '/404',
    name: '404',
    component: () => import('../views/keywordScreening/Index.vue')
  }, {
    path: '/use',
    name: 'Use',
    redirect: '/use/list',
    children: [
      {
        path: 'list',
        name: 'List',
        component: () => import('@/views/use/list/Index.vue'),
        meta: {
					title: '用户列表',
					isLink: '',
					isHide: false,
					isKeepAlive: true,
					isAffix: true,
					isIframe: false,
					roles: ['admin', 'common'],
				}
      },{
        path: 'rolelist',
        name: 'Rolelist',
        component: () => import('@/views/use/rolelist/Index.vue'),
        meta: {
					title: '角色管理',
					isLink: '',
					isHide: false,
					isKeepAlive: true,
					isAffix: true,
					isIframe: false,
					roles: ['admin', 'common'],
				}
      },
    ]
  }, {
    path: '/orderform',
    name: 'Orderform',
    redirect: '/orderform/addorder',
    children: [
      {
        path: 'addorder',
        name: 'Addorder',
        component: () => import('@/views/orderform/addorder/Index.vue'),
        meta: {
					title: '手动添加订单',
					isLink: '',
					isHide: false,
					isKeepAlive: true,
					isAffix: true,
					isIframe: false,
					roles: ['admin', 'common'],
				}
      },{
        path: 'matchingaddorder',
        name: 'Matchingaddorder',
        component: () => import('@/views/orderform/matchingaddorder/Index.vue'),
        meta: {
					title: '匹配添加订单',
					isLink: '',
					isHide: false,
					isKeepAlive: true,
					isAffix: true,
					isIframe: false,
					roles: ['admin', 'common'],
				}
      },{
        path: 'allorder',
        name: 'Allorder',
        component: () => import('@/views/orderform/allorder/Index.vue'),
        meta: {
					title: '查看全部订单',
					isLink: '',
					isHide: false,
					isKeepAlive: true,
					isAffix: true,
					isIframe: false,
					roles: ['admin', 'common'],
				}
      },{
        path: 'belongorder',
        name: 'Belongorder',
        component: () => import('@/views/orderform/belongorder/Index.vue'),
        meta: {
					title: '查看所属订单',
					isLink: '',
					isHide: false,
					isKeepAlive: true,
					isAffix: true,
					isIframe: false,
					roles: ['admin', 'common'],
				}
      },
    ]
  }, {
    path: '/lutianview',
    name: 'Lutianview',
    component: () => import('../views/lutianview/Index.vue')
  },, {
    path: '/lutianmessage',
    name: 'Lutianmessage',
    component: () => import('../views/message/Index.vue')
  },
]

export default constantRouterMap